// out:false

.editBox {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    .leftTag {
        width: 40px;
        float: left;
        background: #eee;
        height: 100%;

        li {
            &.hov {
                background: #128bed;

                a {
                    color: #fff;

                }
            }

            a {
                display: block;
                text-align: center;
                padding: 8px 5px;
                position: relative;

                &>.iconBox {
                    margin: 3px 0 0 0;
                    text-align: center;
                    display: block;
                    position: absolute;
                    top: -5px;
                    right: -3px;

                    i {
                        background: #333;
                        font-size: 12px;
                        width: 14px;
                        color: #fff;
                        display: inline-block;
                        border-radius: 3px;
                        padding: 2px;
                        -webkit-transform: scale(0.6);
                    }
                }

                &>.dui {
                    i {
                        background: #258b7c;
                    }
                }

                &>.cuo {
                    i {
                        background: #f00;
                    }
                }

            }

            border-bottom:1px solid #999;
        }
    }

    .main {
        margin: 0 !important;
        padding: 10px !important;
        height: 100%;
        width: 10px;
        flex:auto;
    }

}

.editBk {
    position: relative;
    height: 100%;
    padding: 0 5px 0 0;
    // overflow: auto;

    h1 {
        border-bottom: 1px solid #ccc;
        font-size: 16px;
        margin: 0 0 8px 0;
        padding: 5px 0;
        position: relative;

        .h1Right {
            display: inline-block;

            .layui-form-switch {
                margin: 0 0 0 5px;
            }
        }
    }

    h2 {
        background: #eee;
        border-radius: 10px;
        font-size: 14px;
        padding: 5px 8px;
        margin: 0 0 5px 0;

        .h2RightBox {
            float: right;

            a {
                font-size: 12px;
                padding: 0 5px;
                margin: 0 5px;
                background: #ff7d00;
                border-radius: 3px;
                color: #fff;
            }
        }
    }

    .editDrag {
        // border-width: 4px;
        // border-style: ridge;
        // border-color: #ff7d00;
        // line-height: 20px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, .8);
        border: 1px solid #fff;
    }

    .modi-form {
        padding: 0 8px 0 0;

        .layui-btn-group {
            -webkit-transform: scale(0.8);
        }

        .item {
            padding: 5px 0;



            // .btnLine {
            //     border-top: 1px solid #eee;
            //     padding: 8px 0;
            //     text-align: center;

            //     button {
            //         margin: 0;
            //     }
            // }
        }

        .layui-form-item {
            padding: 5px 0;

            .layui-inline {
                margin: 0;
            }

            .sliders-box {
                padding: 0 10px;

                .layui-inline {
                    &:nth-child(1) {
                        float: left;
                        width: 36px;
                    }

                    &:nth-child(3) {
                        border: 1px solid #fff;
                        margin: 0 38px;
                        display: block;
                    }

                    &:nth-child(2) {
                        float: right;
                        width: 36px;
                    }
                }
            }

            .selectBox {
                text-align: center;

                .layui-form-select {
                    .layui-input {
                        width: 70px;
                    }
                }
            }

            .mapBox {
                .layui-form-checkbox[lay-skin=primary] {
                    margin-top: 0px;
                }
            }

        }



        .tag-list {
            span {
                margin: 0 0 5px 0;
            }
        }



        .level-three-box {
            background: #f2f8ff;
            padding: 0 10px 15px 10px;
            margin: 0 10px 10px 10px;
            display: block;

            .style-tit {
                padding: 5px 0;

                h1 {
                    font-weight: bold;
                    background: #3d77f8;
                    color: #fff;
                    border-radius: 5px;
                    margin: 5px 0;
                    font-size: 12px;
                    padding: 5px 0 5px 10px;
                }
            }

            h3 {
                font-size: 12px;
                padding: 3px 0;
            }

            .layui-form-item {
                .layui-form-label {
                    width: 60px;
                }

                .layui-input-block {
                    margin-left: 90px;
                }
            }

            .level-three-item {
                padding: 0 8px 0 0;


            }




        }

        .moduList {
            padding: 0 0 0 18px;

            ul {
                li {
                    display: inline-block;
                    margin: 5px 0 0 5px;
                }
            }
        }



        .baseForm {
            .layui-btn-group {
                display: inline-block;
                margin: 0;
                padding: 0;
            }

            .pr {
                width: 90px;
                float: right;
                text-align: right;
                padding: 5px 0 0 0;

            }

        }
    }

    .imgBk {


        a {
            border: 2px solid #ccc;
            display: inline-block;
            padding: 5px;

            &:hover {
                border: 2px solid #98c6fd;
            }


        }

        img {
            max-width: 100px;
            max-height: 60px;
        }


    }

    .locBtn {
        i {
            font-size: 24px;
        }
    }

    .editBtnList {
        .layui-btn {
            margin: 0;
        }

        padding:8px 5px;
    }

    .edit-btn-line {
        position: absolute;
        bottom: 10px;
        width: 100%;
        text-align: center;
        padding: 8px 0;
        border-top: 1px solid #eee;
    }

    .btnLine {
        border-top: 1px solid #ccc;
        padding: 10px 0;
        text-align: center;

    }

    .layui-form-item {
        margin: 0;
    }

    .sliders1 {
        width: 100%;
        display: block;
        padding: 15px 0 0 0;

        .layui-slider-input {
            margin: 15px 0 0 0;
        }


    }

    .sliders {
        margin: 15px 0 15px 0;
        padding: 0 10px 0 15px;

        .layui-slider-input {
            width: 70px;
        }

        .layui-slider-wrap {
            padding: 0 0 0 0;
            // -webkit-transform: translateX(-30%);
            // transform: translateX(-30%);

            .layui-slider-wrap-btn {
                margin-left: 0;
            }
        }
    }



    // .dad-noSelect,
    // .dad-noSelect * {
    //     -webkit-touch-callout: none;
    //     -webkit-user-select: none;
    //     -khtml-user-select: none;
    //     -moz-user-select: none;
    //     -ms-user-select: none;
    //     user-select: none;
    //     cursor: -webkit-grabbing !important;
    //     cursor: -moz-grabbing !important;
    // }

    // .dad-container {
    //     position: relative;
    //     -webkit-touch-callout: none;
    //     -webkit-user-select: none;
    //     -khtml-user-select: none;
    //     -moz-user-select: none;
    //     -ms-user-select: none;
    //     user-select: none;
    // }

    // .dad-container::after {
    //     content: '';
    //     clear: both !important;
    //     display: block;
    // }

    // .dad-active .dad-draggable-area {
    //     cursor: -webkit-grab;
    //     cursor: -moz-grab;
    // }

    // .dads-children-clone {
    //     opacity: 0.8;
    //     z-index: 9999;
    //     pointer-events: none;
    // }

    // .dads-children-placeholder {
    //     overflow: hidden;
    //     position: absolute !important;
    //     box-sizing: border-box;
    //     border: 4px dashed #639BF6;
    //     /* margin: 5px; */
    //     text-align: center;
    //     color: #639BF6;
    //     font-weight: bold;
    // }

    .editMapLayer {
        @aroundSize: 58px;
        @iconSize : 28px;
        @fontLine : 62px;
        width: 100%;
        margin: 0 auto;
        padding: 0 5px 5px 0;
        overflow: hidden;

        h2 {
            font-size: 14px;
            background: #eee;
            border-radius: 5px;
            padding: 8px;
            overflow: hidden;
            position: relative;

            button {
                position: absolute;
                top: 3px;
                right: 5px;
            }
        }



        ul {
            position: relative;

            li {
                float: left;
                margin: 5px 0 0 5px;
                vertical-align: top;
                text-align: center;
                // display: inline-block;
                // margin: 11px 0 0 16px;
                // position: relative;
                width: 70px;
                height: 80px;
                padding: 8px 0 0 0;
                position: relative;

                a {
                    position: relative;
                    display: block;
                    height: 100%;

                    .icon_around {
                        overflow: hidden;
                        display: inline-block;
                        width: @aroundSize;
                        height: @aroundSize;
                        line-height: @fontLine;
                        font-size: 0;
                        border-radius: 50%;
                        color: #fff;

                        i {
                            font-size: @iconSize;
                        }
                    }

                    .layui-anim-loop {
                        display: none;
                    }

                    .text {
                        display: block;
                        margin-top: 8px;
                        font-size: 11px;
                        line-height: 12px;
                        color: #000;
                        font-weight: bold;
                        letter-spacing: -.9px;
                        white-space: nowrap;
                        width: 100%;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }

                    .yes {
                        background: #00c73c;
                        position: absolute;
                        border-radius: 50%;
                        width: 18px;
                        height: 18px;
                        line-height: 18px;
                        right: 0;
                        bottom: 20px;
                        display: none;

                        i {
                            color: #fff;
                            line-height: 18px;
                            font-size: 12px;
                            display: block;
                        }
                    }

                    .iconBox {
                        position: absolute;
                        bottom: 10px;
                        right: 0;
                        padding: 5px;

                        i {
                            font-size: 8px;
                            padding: 3px;
                            border-radius: 50%;
                            color: #fff;

                            &.bgRed {
                                background: #f00;
                            }

                            &.bgGreen {
                                background: #258b7c;
                            }

                            &.bgBlue {
                                background: #2e5fb2;
                            }
                        }
                    }

                    .remove {
                        position: absolute;
                        bottom: 0;
                        right: 0;
                        padding: 5px;

                        i {
                            color: #f00;
                        }
                    }

                    .edit {
                        position: absolute;
                        bottom: 0;
                        right: 0;
                        padding: 5px;

                        i {
                            color: #00c73c;
                        }
                    }

                    .bg_around_orange {
                        background: #FE8C52;
                    }

                    .bg_around_yellow {
                        background: #FFBA01;
                    }

                    .bg_around_darkblue {
                        background: #3FB3FF;
                    }

                    .bg_around_lightblue {
                        background: #5C9ACE;
                    }

                    .bg_around_grayblue {
                        background: #9AABBD;
                    }

                    .bg_around_rosered {
                        background: #D887E8;
                    }

                    .bg_around_pink {
                        background: #FF7265;
                    }
                }
            }
        }

        .caseBtnArea {
            text-align: center;
        }
    }

    .selected {
        ul {
            li {
                a {
                    .remove {
                        display: block;
                    }
                }
            }
        }
    }

    .candidate {

        ul {
            li {
                a {
                    .remove {
                        display: none;
                    }
                }
            }
        }
    }

}

.hideStep {
    top: -300px;
    position: absolute;
}



.caseModiItem {
    padding: 10px 0 0 10px;
}

.editBtnBox {
    position: absolute;
    left: 50%;
    bottom: 10px;
    // top: 46px;
    z-index: 9998;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    margin: 0 0 0 -100px;
    border: 1px solid #ccc;
    z-index: 9999999;
}

.popMenu {
    border: 2px solid #4190fe;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
    background: #fff;

    h2 {
        background: #4190fe;
        color: #fff;
        font-size: 14px;
        text-align: center;
    }

    ul {
        li {
            a {
                padding: 6px 10px;
                display: block;

                &:hover {
                    background: #f2f2f2;
                }
            }
        }
    }
}

.editTips {
    text-align: center;
    padding: 8px;
}